#ifndef __WINDOW_MAIN_H__
#define __WINDOW_MAIN_H__

#include "lvgl.h"
#include "window_image.h"

//时间结构体
typedef struct
{
	unsigned int  year;
	unsigned char month;
  unsigned char day;
	unsigned char hour;
	unsigned char minute;
	unsigned char second;

}Time_t;

//表盘旋转
typedef enum
{
  Watch_Face_1 			=0,
	Watch_Face_2 			=1,
	Watch_Face_3 			=2,
	Watch_Face_4 			=3,
	Watch_Face_5 			=4,
	Watch_Face_custom =5,
}Watch_Face_t;


extern Watch_Face_t  Current_Face;


#include "picture.h"
typedef struct
{
	uint32_t address;
	uint32_t size;	
}image_t;


 

















extern Time_t My_time;

extern void window_main_init(void);
extern void delete_watch_face_task(void);


//表盘选择
void Watch_Option(Watch_Face_t num);
//表盘初始化函数
void watch_face_1_init(void);
void watch_face_2_init(void);
void watch_face_3_init(void);
void watch_face_4_init(void);
void watch_face_5_init(void);
void watch_face_custom_init(void);

#endif
